<?php
 
// No direct access
 
defined('_JEXEC') or die('Restricted access'); ?>
<h1><?php echo $this->rsc->word_title; ?></h1>
<br/>
<br/>
<i><?php echo $this->rsc->word_text; ?></i>
<br/>
<br/>
<br/>
<p align="right"><a href="index.php?option=com_hizkuntzak">&laquo; <?php print($this->rsc->volver)?></a></p>
<br/>
<form action="index.php?option=com_hizkuntzak" class="formular" method="post" id="hitzakForm" name="hitzakForm">
	<input type="hidden" name="task" value="addWord"/>
	<input type="hidden" name="idWord" value="<?php echo $this->word->idWord; ?>"/>
	<table>
		<tr>
			<td><?php echo $this->rsc->word_word_eu; ?>: </td>
			<td><input type="text" class='validate[required]' id="word_eu" name="word_eu" value="<?php echo($this->word->word_eu);?>"/></td>
		</tr>
		<tr>
			<td><?php echo $this->rsc->word_word_es; ?>: </td>
			<td><input type="text" class='validate[required]' id="word_es" name="word_es" value="<?php echo($this->word->word_es);?>"/></td>
		</tr>
		<tr>
			<td><?php echo $this->rsc->active; ?>: </td>
			<td>
				<?php 
					if($this->word->active){
						print("<input type='checkbox' checked='checked' name='active'/>");
					}
					else{
						print("<input type='checkbox' name='active'/>");
					}
				?>
				
			</td>
		</tr>
	</table>
	<br/>
	<input type="button" id="submitHitzakFormButton" value="<?php echo $this->rsc->save_changes; ?>" class="ui-button ui-widget ui-state-default ui-corner-all" role="button" aria-disabled="false">
	<br/>
<p align="right"><a href="index.php?option=com_hizkuntzak">&laquo; <?php print($this->rsc->volver)?></a></p>
<br/>
</form>

